package com.gitee.wsl.transform.encode.pinyin.interval

object IntervalableComparatorByPosition : Comparator<Intervalable> {

    override fun compare(intervalable: Intervalable, intervalable2: Intervalable): Int {
        return intervalable.start - intervalable2.start
    }
}
